lj={
	{'XiaoDanxu',1, 80,90,90,0},
	{'Song',     2, 90,90,88,0},
	{'Zhu',      3, 90,89,99,0}
}

colHeader={'姓名','学号', '语文', '数学', '英语', '总分'}
for i=1, #colHeader do io.write(string.format('|%12s', colHeader[i])) end
print('|')
for i=1,3 do 
	io.write(string.format('|%-10s|%-10d|%10d|%10d|%10d|%10d|\n', lj[i][1], lj[i][2], lj[i][3], lj[i][4], lj[i][5], lj[i][6]))
end
